Optimal. Leaf size=11 \[ \frac{B \tan (c+d x)}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.011593, antiderivative size = 11, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.088, Rules used = {21, 3767, 8} \[ \frac{B \tan (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 21
Rule 3767
Rule 8
Rubi steps
\begin{align*} \int \frac{(a B+b B \cos (c+d x)) \sec ^2(c+d x)}{a+b \cos (c+d x)} \, dx &=B \int \sec ^2(c+d x) \, dx\\ &=-\frac{B \operatorname{Subst}(\int 1 \, dx,x,-\tan (c+d x))}{d}\\ &=\frac{B \tan (c+d x)}{d}\\ \end{align*}
Mathematica [A] time = 0.0043691, size = 11, normalized size = 1. \[ \frac{B \tan (c+d x)}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.056, size = 12, normalized size = 1.1 \begin{align*}{\frac{B\tan \left ( dx+c \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.31363, size = 45, normalized size = 4.09 \begin{align*} \frac{B \sin \left (d x + c\right )}{d \cos \left (d x + c\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 8.56322, size = 32, normalized size = 2.91 \begin{align*} \begin{cases} \frac{B \tan{\left (c + d x \right )}}{d} & \text{for}\: d \neq 0 \\\frac{x \left (B a + B b \cos{\left (c \right )}\right ) \sec ^{2}{\left (c \right )}}{a + b \cos{\left (c \right )}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.53468, size = 15, normalized size = 1.36 \begin{align*} \frac{B \tan \left (d x + c\right )}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]